// 订单相关
import request from '@/utils/request'

// 订单列表
export function getListApi(data) {
  return request({
    url: "/api/order.suborder/getList",
    method: "post",
    data,
  });
}

export function createOrderApi(data) {
  return request({
    url: '/api/order.suborder/create',
    method: 'post',
    data
  })
}

export function readOrderApi(data) {
  return request({
    url: "/api/order.suborder/read",
    method: "post",
    data,
  });
}

export function saveOrderApi(data) {
  return request({
    url: "/api/order.suborder/save",
    method: "post",
    data,
  });
}




